<!--
描述：试卷管理-自动组卷
开发人：fwb
开发日期：2018年05月22日
-->

<template lang="pug">
    div.kalix-article
        keep-alive
            el-row.frame-row(:gutter="10")
                el-col.s-flex.flex-column.frame-col(v-bind:span="20")
                    div.s-flex_item.frame-item
                        keep-alive
                            kalix-table(bizKey="adminPassword" title='密码列表' v-bind:bizSearch="'PasswordSearch'" v-bind:targetURL="passwordTargetURL"
                            v-bind:toolbarBtnList="paperToolbarBtnList" v-bind:isFixedColumn="isFixedColumn"
                           ref="passwordTable" )
                                template(slot="tableColumnSlot")
                                    el-table-column(prop="fileName" label="zip包名" align="center" )
                                    el-table-column(prop="password" label="密码" align="center" )
                                    el-table-column(prop="paperName" label="试卷名称" align="center" )
</template>

<script type="text/ecmascript-6">
    import PasswordFormModel from './passwordModel'
    import {passwordTargetURL} from '../config.toml'
    export default {
        name: 'kalix-enrolment-password',
        data() {
            return {
                // 试卷规则和试题规则列表
                isFixedColumn: true,
                // 试卷规则列表
                passwordTargetURL: passwordTargetURL,
                paperToolbarBtnList: [
                    {id: 'add', isShow: false}
//                    {id: 'autoDoPaper', title: '自动组卷', isShow: true, icon: 'icon-add'},
//                    {id: 'newAdd', title: '手动组卷', isShow: true, icon: 'icon-add'}
                ]
            }
        },
        components: {},
        created() {
        },
        mounted(){
        },
        computed: {},
        watch: {
        },
        methods: {

        }
    }
</script>
<style  lang='stylus' type='text/stylus'>
    .frame-row .frame-col
        width  100%


</style>